Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 8 Forum

Notes/Domino 8 Forum

Previous Next

what is the maximum size for a script library using lotus script? - from the help file

Limits on compiler and compiled program structure in LotusScript

Item Maximum
Number of lines per script or source file, not including the contents of %Include files 64K
Depth of nested %Include directives 16
Number of compilation errors before the LotusScript compiler halts 20
Number of symbols in a module's symbol table. 64K
Number of recursive calls (recursion level for a given function) 32Kbyte stack size
Storage size of all data in a given scope (See "Storage size of data," below.) Module: Limited by available memory.
Class: 64K bytes
Procedure: 32K bytes
Size of executable module code Limited by available memory.
Storage size of data
The limits on the storage size of data in a given scope apply to fixed-size variables: scalar variables except for variable-length strings; user-defined type variables; and fixed arrays of these scalar variables and user-defined type variables. Depending on the order of declaration, alignment of variables on storage boundaries can take extra space. For example, an Integer variable is aligned on a 2-byte boundary, and a Long variable is aligned on a 4-byte boundary.
The maximum size of data in each dynamic variable (each variable-length string, each list, each dynamic array, and each instance of a class) is limited by available memory. However, each such variable will use 4 bytes for data in the scope where it is declared.
Because of run-time needs, LotusScript might generate an Out of stack error just before it reaches the data storage size limit.


JYR


Feedback response number JYRN7L346G created by ~Bill Fezlunivu on 11/04/2008

what is the maximum size for a scri... (~Cheryl Brefoov... 3.Nov.08)
. . RE: what is the maximum size for a ... (~Laura Elnulyin... 3.Nov.08)
. . . . what is the maximum size for a scri... (~Keiko Nontoopl... 4.Nov.08)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS